package com.example.demo.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by 廖师兄
 * 2016-11-01 23:35
 */
@Component
@ConfigurationProperties(prefix = "cateGory")
public class CateGoryProperties {

    private String name;

    private int sortFlag;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSortFlag() {
        return sortFlag;
    }

    public void setSortFlag(int order) {
        this.sortFlag = order;
    }
}
